﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPlus.Master" AutoEventWireup="true" CodeBehind="wbfrm_Control_Cliente.aspx.cs" Inherits="FrontEndPlus.Módulos.wbfrm_Control_Cliente" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .auto-style2 {
            width: 307px;
        }

        .auto-style4 {
            height: 33px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="Panel1" runat="server">
        <asp:Panel ID="Panel2" runat="server" Height="16px">
            <asp:Image ID="Image1" runat="server" Height="265px" ImageUrl="~/Módulos/Administración/Imagen/salud.jpg" Width="236px" />
        </asp:Panel>
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Panel ID="Panel4" runat="server" Width="649px">
        <table align="center" style="background-color: #E8EBF7; border-radius: 10px; filter: alpha(opacity=50);" width="600px" border="10">
            <tr>
                <td align="right" class="auto-style4"></td>
                <td class="auto-style2">
                     <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" HeaderText="Se han producido los siguientes errores:" />
                    <asp:Label ID="lbl_mensaje" runat="server" BorderColor="Black" ForeColor="Red"></asp:Label>
                    <asp:ToolkitScriptManager ID="smr_Script" runat="server">
                    </asp:ToolkitScriptManager>
                </td>
            </tr>
            <tr>
                <td align="right" class="auto-style4"></td>
                <td class="auto-style2">
                    <h2 style="color: darkblue">Datos del Cliente</h2>
                    <br />
                </td>
            </tr>
             <tr>
                <td align="right" class="auto-style4">Código de Cliente:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_CodCliente" runat="server" MaxLength="48" ReadOnly="True" TabIndex="1"></asp:TextBox>                   
                </td>
            </tr>
            <tr>
                <td align="right" class="auto-style4">Identificación:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Identificacion" runat="server" MaxLength="28" ReadOnly="True" TabIndex="2"></asp:TextBox><br />
                    <asp:RequiredFieldValidator
                        ID="RequiredFieldValidator2"
                        runat="server"
                        ControlToValidate="txt_Identificacion"
                        CssClass="msjerror"
                        EnableClientScript="False"
                        ErrorMessage="Digitar Identificación"
                        ForeColor="Maroon">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>           
            <tr>
                <td align="right" class="auto-style4">Nombre de Cliente:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Nombre" runat="server" MaxLength="48" ReadOnly="True" TabIndex="1"></asp:TextBox>
                    <asp:ImageButton ID="imgbtn_Busqueda" runat="server" ImageUrl="~/Módulos/Administración/Imagen/icono_lupa.gif" OnClick="imgbtn_Busqueda_Click" CausesValidation="False" /><br />
                    <asp:RequiredFieldValidator
                        ID="RequiredFieldValidator1"
                        runat="server"
                        ControlToValidate="txt_Nombre"
                        CssClass="msjerror"
                        EnableClientScript="False"
                        ErrorMessage="Digitar Nombre del Cliente"
                        ForeColor="Maroon">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td align="right" class="auto-style4">Apellido de Cliente:</td>
                <td class="auto-style2">
                    <asp:TextBox ID="txt_Apellido" runat="server" MaxLength="48" ReadOnly="True" TabIndex="1"></asp:TextBox><br />
                    <asp:RequiredFieldValidator
                        ID="RequiredFieldValidator3"
                        runat="server"
                        ControlToValidate="txt_Apellido"
                        CssClass="msjerror"
                        EnableClientScript="False"
                        ErrorMessage="Digitar Apellido del Cliente"
                        ForeColor="Maroon">
                    </asp:RequiredFieldValidator>
                </td>
            </tr>            
        </table>
    </asp:Panel>
    <asp:Panel ID="Panel3" runat="server">
        <table align="center" style="background-color: #E8EBF7; border-radius: 10px; filter: alpha(opacity=50);" width="600px">
            <tr>
                <td>&nbsp;</td>
                <td align="right"></td>
                <td class="auto-style4"><b style="color: darkblue">Control Cliente</b> </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4">Peso: </td>
                <td class="auto-style4">
                    <asp:TextBox ID="txt_Peso" runat="server" TabIndex="4" MaxLength="10"></asp:TextBox>
                    <asp:Label ID="Label1" runat="server" Text="kg"></asp:Label><br />
                    <asp:MaskedEditExtender ID="meeXML" runat="server"
                        TargetControlID="txt_Peso"
                        Mask="999.99"
                        MessageValidatorTip="true"
                        OnFocusCssClass="MaskedEditFocus"
                        OnInvalidCssClass="MaskedEditError"
                        MaskType="Number"
                        InputDirection="RightToLeft"
                        AcceptNegative="none"
                        ClearMaskOnLostFocus="True"
                        Filtered="."
                        ErrorTooltipEnabled="True" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txt_Peso" CssClass="msjerror" EnableClientScript="False" ErrorMessage="Digitar Peso" ForeColor="Maroon"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4">Estatura: </td>
                <td class="auto-style4">
                    <asp:TextBox ID="txt_Estatura" runat="server" TabIndex="5" MaxLength="10"></asp:TextBox>
                    <asp:Label ID="Label2" runat="server" Text="m"></asp:Label><br />
                    <asp:MaskedEditExtender ID="MaskedEditExtender1" runat="server"
                        TargetControlID="txt_Estatura"
                        Mask="9.99"
                        MessageValidatorTip="true"
                        OnFocusCssClass="MaskedEditFocus"
                        OnInvalidCssClass="MaskedEditError"
                        MaskType="Number"
                        InputDirection="RightToLeft"
                        AcceptNegative="none"
                        ClearMaskOnLostFocus="True"
                        Filtered="."
                        ErrorTooltipEnabled="True" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txt_Estatura" CssClass="msjerror" EnableClientScript="False" ErrorMessage="Digitar Estatura" ForeColor="Maroon"></asp:RequiredFieldValidator>
                </td>
            </tr>
             <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4">IMC: </td>
                <td class="auto-style4">
                    <asp:TextBox ID="txt_IMC" runat="server" ReadOnly="True" TabIndex="6" MaxLength="50" Width="81px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4">Estandar de Salud: </td>
                <td class="auto-style4">
                    <asp:TextBox ID="txt_Estandar" runat="server" ReadOnly="True" TabIndex="6" MaxLength="50" Width="215px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="auto-style4"></td>
                <td align="right" class="auto-style4">Consejos de Salud: </td>
                <td class="auto-style4">
                    <asp:TextBox ID="txt_Consejos" runat="server" Width="293px" ReadOnly="True" TabIndex="7" MaxLength="50"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td></td>
                <td align="right">Calcular</td>
                <td>
                    <asp:ImageButton ID="imgbtn_Calcular" runat="server" Height="71px" ImageUrl="~/Módulos/Administración/Imagen/calc.jpg" Width="100px" TabIndex="8" OnClick="imgbtn_Calcular_Click" />
                </td>
            </tr>           
            <tr>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td align="left" style="color:blueviolet">*De acuerdo al IMC</td>
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
